﻿using Common;
using DB.Model.Base;
using MongoDB.Bson;
using System;

namespace DB.Model
{
    public partial class Tasks : EntityBase
    {
        public string UserId { get; set; }
        /// <summary>
        /// 指定接收人
        /// </summary>
        public string Received { get; set; }
        public string TaskName { get; set; }
        /// <summary>
        /// 指定触发时间
        /// </summary>
        public DateTime FirstDate { get; set; }
        public string StartDate { get; set; }

        public int StartHour { get; set; }

        public int StartMinute { get; set; }
        /// <summary>
        /// 0 触发1次  1循环触发
        /// </summary>
        public int TaskType { get; set; }

        /// <summary>
        /// 0每天 1每周一 2每周二 ...
        /// </summary>
        public int TaskRunType { get; set; }
        /// <summary>
        /// 0 直接发送内容  1执行任务
        /// </summary>
        public int TaskStartType { get; set; }
        /// <summary>
        /// 发送内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 0 未执行 1已执行
        /// </summary>
        public int Status { get; set; }

    }
    

}
